import { BaseController, CoolController } from "@cool-midway/core";
import { ProductInfoEntity } from "../../entity/info";

/**
 * 产品信息（后台）
 */
@CoolController({
    api: ['add', 'delete', 'update', 'info', 'list', 'page'],
    entity: ProductInfoEntity,
    pageQueryOp: {
        fieldEq: ['a.status', 'a.categoryId', 'a.type'],
        keyWordLikeFields: ['a.name']
    }
})
export class AdminProductInfoController extends BaseController {}


